<template>
  <div class="imageLoaderTest-container">
      <ImageLoader 
        src="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?fit=crop&amp;crop=entropy&amp;w=2000&amp;h=2000"
        placeholder="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?w=100"
        @allEnd = "imgLoad"
      />
  </div>
</template>

<script>
import ImageLoader from "./"
export default {
    components:{
        ImageLoader,
    },
    methods:{
        imgLoad(){
            console.log("图片加载完成")
        }
    }
}
</script>

<style></style>